package com.senlingspace.system.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 小程序购物车VO
 *
 * @author lebronjames
 * @date 2024/10/03
 */
@Data
public class MiniAppCartVo implements Serializable {

    @NotNull(message = "商品ID不能为空！")
    private Long productId;

    @NotNull(message = "商品数量不能为空！")
    private Integer quantity;

    @NotNull(message = "商品规格不能为空！")
    private String attribute;

}
